<template>
  <div class="w-100 h-100 d-flex flex-column ai-center jc-between">
    <div class="message1 flex-1">
      <CommonCard>
        <div class="message-inner  d-flex flex-column ai-center">
          <div class="ghost" />
          <div class="xin" />
        </div>
      </CommonCard>
    </div>
    <div class="btn-contain w-100 h-100 d-flex flex-column ai-center jc-around flex-1">
      <div class="text-join"></div>
      <div class="btn" @click="$router.push({name:'StepThree'})"></div>
    </div>
  </div>
</template>

<script>
import CommonCard from "@/components/CommonCard.vue";

import { getToken } from "@/api/user.js";

export default {
  name: "StepOne",
  components: {
    CommonCard
  },
  mounted(){
    getToken()
  }
};
</script>

<style lang="scss" scoped>
.btn-contain {
  padding: .4rem /* 12/112 */ 0;
}
.message1 {
  width: 7.964286rem;
  // height: 9.607143rem;
}

.text-join {
  width: 4.5rem /* 573/112 */;
  height: 1.035714rem /* 116/112 */ /* 164/112 */;
  background-image: url(../../assets/images/text-2.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.btn {
  width: 5.116071rem /* 573/112 */;
  height: 1.464286rem /* 164/112 */;
  background-image: url(../../assets/images/btn2.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  //  margin-top: 1rem;
}

.message-inner {
  opacity: 1;
  padding: .4rem /* 12/112 */ 0;
  
  .ghost {
    width: 2.7em ;
    height: 2.7rem;

    background-image: url(../../assets/images/bg5.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
  .xin {
    
    width: 4.4rem ;
    height: 4.2rem ;
     margin-top: .5rem;

    background-image: url(../../assets/images/text-1.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
}
</style>